-
Notifications
You must be signed in to change notification settings - Fork 62
Shared camps #8004
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shared camps #8004
Conversation
b70271c to
4030b09
Compare
19845e2 to
5f0de3a
Compare
⛔ Feature branch deployment currently inactive.If the PR is still open, you can add the |
5f0de3a to
e93b56d
Compare
e93b56d to
cc3806d
Compare
| "self": { | ||
| "href": "escaped_value" | ||
| }, | ||
| "sharedBy": "escaped_value" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyone knows why this isn't wrapped in a { "href": ... }?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably because it's null. Maybe we should disable escaping for null values...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, it may even be in both places, because api platform cannot differentiate between a null ref and a null value.
| private static function getContentNodeEndpointQueryCountRanges(): array { | ||
| return [ | ||
| '/content_nodes' => [10, 12], | ||
| '/content_nodes' => [11, 13], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know why this went up...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| /activity_responsibles: 6 | ||
| /activity_responsibles/item: 8 | ||
| /camps: 15 | ||
| /camps: 18 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are the numbers in this snapshot? Query count? Why did this go up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e2f1de3 to
48d92bb
Compare
| {{ $tc(`components.campAdmin.campSharingSettings.copyCampLink`) }} | ||
| </v-tooltip> | ||
| </v-list-item-action> | ||
| <v-list-item-action v-if="isManager" class="align-self-start"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As with all camp settings, the frontend only allows managers to change this, but in the API it is also possible for members. #3440
7ab2a38 to
fa8f622
Compare
ee508e6 to
3972403
Compare
d213706 to
1960a91
Compare
256330f to
6b05540
Compare
Follow-up for ecamp#8004 Querying by isPrototype OR isShared is slow, because databases don't like OR conditions too much. We work around this by adding a combined isPublic field which is enforced to always contain isShared || isPrototype and have the DB queries filter by that.
Follow-up for ecamp#8004 Querying by isPrototype OR isShared is slow, because databases don't like OR conditions too much. We work around this by adding a combined isPublic field which is enforced to always contain isShared || isPrototype and have the DB queries filter by that.
Fixes #7481
Fixes #7324
Fixes #7445
Fixes #6281
To be discussed / decided / done: